#include <stdio.h>
#include <stdlib.h>

int main()
{
	/*******************code*******************/
	// fegts()  读取文本文件
	FILE *fp = fopen("getc__.txt", "r");
	if (!fp)
	{
		exit(EXIT_FAILURE);
	}
	char words[100];
	while (fgets(words, 99, fp) != NULL)
	{
		fputs(words, stdout);
	}

	/******************************************/
	printf("\n\n****************************\n");
	printf("Press Enter key to continue\n");
	getchar();
	return 0;
	/******************************************/
}
